﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Owin;

[assembly: Microsoft.Owin.OwinStartup("myFriendlyName", typeof(Cypher.Sample.Web.Startup))]

namespace Cypher.Sample.Web
{
	public class Startup
	{
		public void Configuration(IAppBuilder app)
		{
			var config = new System.Web.Http.HttpConfiguration();

			config.MapHttpAttributeRoutes();
			// Add WebAPI v2 to the pipeline
			app.UseWebApi(config);
			// Add WebAPI v2 documentation service tot the pipeline
			app.UseApiDocumentation(config);
		}
	}
}